package com.imoresoft.agile.top;

import com.imoresoft.agile.property.ProsReader;

public interface TopConstants {
	public static final boolean EVN_SWITCH = Boolean.parseBoolean((ProsReader
			.getString("EVN_SWITCH")));

	public static final String APP_KEY = ProsReader.getString("APP_KEY");

	public static final String APP_SECRET = ProsReader.getString("APP_SECRET");

	public static final String APP_KEY_FRONT = ProsReader
			.getString("APP_KEY_FRONT");

	public static final String APP_SECRET_FRONT = ProsReader
			.getString("APP_SECRET_FRONT");

	public static final String API_SERVICE_URL = ProsReader
			.getString("API_SERVICE_URL");

	public static final String API_SANDBOX_SERVICE_URL = ProsReader
			.getString("API_SANDBOX_SERVICE_URL");

	public static final Long LEASE_ID = Long.parseLong(ProsReader
			.getString("LEASE_ID"));

	public static final int TAOBAO_API_CALL_MAX_TIMES = Integer
			.parseInt(ProsReader.getString("TAOBAO_API_CALL_MAX_TIMES"));

	public static final Long TAOBAO_API_CALL_INTERVAL_WHEN_ERROR = Long
			.parseLong(ProsReader
					.getString("TAOBAO_API_CALL_INTERVAL_WHEN_ERROR"));

	public static final long TAOBAO_API_MAX_PAGE_SIZE = Long
			.parseLong(ProsReader.getString("TAOBAO_API_MAX_PAGE_SIZE"));

	public static final String ERROR_CODE_INVALID_SESSION = "27";

	public static final String TAOBAO_LOGIN_URL = ProsReader
			.getString("TAOBAO_LOGIN_URL");
}
